package com.ipercube;

import com.ipercube.model.*;
import com.ipercube.model.Identifiable;

/**
 *  <p style="margin-top: 0">
 *        a Dimension is defined by an ID and a data type
 *      </p>
 */
// <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
// #[regen=yes,id=DCE.0D55F886-3D13-FA11-F65F-BA29B59FBB74]
// </editor-fold> 
public class Dimension implements Identifiable {

    private String id;
    private Class<?> type;

    public Dimension(String id, Class<?> type) {
        this.id = id;
        this.type = type;
    }


    // <editor-fold defaultstate="collapsed" desc=" UML Marker ">
    // #[regen=yes,id=DCE.E99B96A8-273F-252C-9790-C6D8202877CA]
    // </editor-fold>
    public String getId (){
        return id;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker ">
    // #[regen=yes,id=DCE.01F342EB-4444-B9A1-C9D3-E30B3E910BD5]
    // </editor-fold>
    public Class<?> getType (){
        return type;
    }

}

